package com.serial.comm.core.constants;

/**
 * MQ 常量
 */
public interface RabbitConst {

    /**
     * 串口业务 交换机
     */
    String BUSINESS_EXCHANGE = "serial.exchange.business";
    /**
     * 串口死信队 交换机
     */
    String DEAD_LETTER_EXCHANGE = "serial.exchange.deadletter";
    /**
     * 串口 重试 交换机
     */
    String BUSINESS_EXCHANGE_RETRY = "serial.exchange.business.retry";
    /**
     * 串口 重试 死信交换机
     */
    String DEAD_LETTER_EXCHANGE_RETRY = "serial.exchange.deadletter.retry";

    /**
     * 串口原始报文读取业务 队列
     */
    String BUSINESS_QUEUE_BASE_READ = "serial.queue.business.base.read";
    /**
     * 串口 单个电报 读取业务 队列
     */
    String BUSINESS_QUEUE_UNITARY_READ = "serial.queue.business.unitary.read";
    /**
     * 串口写入业务 队列
     */
    String BUSINESS_QUEUE_WRITE = "serial.queue.business.write";
    /**
     * 串口写入重试 队列
     */
    String BUSINESS_QUEUE_WRITE_RETRY = "serial.queue.business.write.retry";


    /**
     * 串口原始报文读取死信 队列
     */
    String DEAD_LETTER_QUEUE_BASE_READ = "serial.queue.deadletter.base.read";
    /**
     * 串口 单个报文 读取死信 队列
     */
    String DEAD_LETTER_QUEUE_UNITARY_READ = "serial.queue.deadletter.unitary.read";

    /**
     * 串口写入死信 队列
     */
    String DEAD_LETTER_QUEUE_WRITE = "serial.queue.deadletter.write";
    /**
     * 串口写入重试 死信队列
     */
    String DEAD_LETTER_QUEUE_WRITE_RETRY = "serial.queue.deadletter.write.retry";


    /**
     * 串口 原始报文读取 死信路由键
     */
    String QUEUE_ROUTING_KEY_BASE_READ = "serial.rKey.base.read";

    /**
     *  串口 单一电报读取 死信路由键
     */
    String QUEUE_ROUTING_KEY_UNITARY_READ = "serial.rKey.unitary.read";
    /**
     * 串口 写入 死信路由键
     */
    String QUEUE_ROUTING_KEY_WRITE = "serial.rKey.write";
    /**
     * 串口 写入重试 路由键
     */
    String QUEUE_ROUTING_KEY_WRITE_RETRY = "serial.rKey.write.retry";

    /**
     * FODB 读取报文通信队列
     */
    String QUEUE_FODB_READ = "fodb.read";
    /**
     * FODB 写入报文通信队列
     */
    String QUEUE_FODB_WRITE = "fodb.write";
}
